<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"/>
    <title>今日影片</title>
    <link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
    <link href="../showstatic/css/style.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="../showstatic/js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="../showstatic/js/phone.js" ></script>
    <script type="text/javascript" src="../showstatic/js/TouchSlide.1.1.js"></script>
    <script type="text/javascript" src="../showstatic/js/movie.js"></script>
</head>

<body>
<div class="whole">
    <div class="movie">
        <ul>

            <tr th:each="movie:${list}">
                <li>
                        <a th:href="@{|/movie/findMovieById?id=${movie.id}|}">
                    <!--<a href="movie/findMovieById?id=1">-->
                    <div class="posters">
                        <img th:src="${movie.img}" alt="">
                    </div>
                    <div class="post-content">
                        <div class="left-con">
                            <p class="tit">
                                <small>
                                    <span th:text="${movie.movename}"></span>
                                </small>
                            </p>
                            <p class="tim">导演<span th:text="${movie.director}"></span></p>
                            <p class="tim">主演<span th:text="${movie.mainactor}"></span></p>
                            <p class="tim">剧情介绍<span th:text="${movie.description}"></span></p>

                        </div>
                        <div class="right-btn">
                            <div class="ticket-btn">查看</div>
                        </div>
                    </div>
                </a>
            </li>
            </tr>
        </ul>
    </div>

</div>
<script type="text/javascript">


    TouchSlide({
        slideCell:"#carousel",
        titCell:".hd ul", //开启自动分页 autoPage:true ，此时设置 titCell 为导航元素包裹层
        mainCell:".bd ul",
        effect:"left",
        autoPlay:true,//自动播放
        autoPage:true, //自动分页
        switchLoad:"_src" //切换加载，真实图片路径为"_src"
    });
</script>
</body>
</html>
